package JavaDesign.report_finish;

/**
 * @author zouran
 * createDate：2023/12/22  11:08
 */
public abstract class User {
    /**
     * 姓名
     */
    public String name;
    /**
     * 用户的身份，包括学生和教师
     */
    public String identity;
    /**
     * 所属班级
     */
    public String clazz;

    public User(String name, String identity, String clazz) {
        this.name = name;
        this.identity = identity;
        this.clazz = clazz;
    }

    void accept(Visitor visitor) {

    }
}
